package com.czh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czh.domain.ResponseResult;
import com.czh.domain.entity.Comment;
import com.czh.domain.vo.CommentPageVo;

/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2024-04-08 21:57:02
 */
public interface CommentService extends IService<Comment> {

    ResponseResult<CommentPageVo> getArticleCommentList(Integer articleId, Integer pageNum, Integer pageSize);

    ResponseResult<Object> addComment(Comment comment);

    ResponseResult<CommentPageVo> getLinkCommentList( Integer pageNum, Integer pageSize);

    ResponseResult<Object> addMessageComment(String msg);

    ResponseResult<CommentPageVo> getMessageCommentList(Integer pageNum, Integer pageSize);

    ResponseResult<Object> replyMessageComment(Comment comment);
}

